Skip to content

Conversation

@kaylareopelle
Copy link
Owner

@kaylareopelle kaylareopelle commented Oct 2, 2023

This PR leverages the Logs SDK implementation pending review in kaylareopelle/opentelemetry-ruby#6 to instrument Ruby's Logger class.

It also includes a workaround to prevent broadcasted logs in Rails < 7.1 from creating duplicate log records.

Co-Authored by: @khushijain21

@kaylareopelle kaylareopelle marked this pull request as draft October 16, 2023 22:22
@kaylareopelle kaylareopelle changed the title WIP Ruby Logger instrumentation WIP: Ruby Logger instrumentation Oct 16, 2023
@kaylareopelle kaylareopelle changed the title WIP: Ruby Logger instrumentation feat: WIP: Ruby Logger instrumentation Mar 30, 2024

## Examples

Example usage can be seen in the `./example/logger.rb` file [here](https://github.com/open-telemetry/opentelemetry-ruby-contrib/blob/main/instrumentation/logger/example/logger.rb)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link

👋 This pull request has been marked as stale because it has been open with no activity. You can: comment on the issue or remove the stale label to hold stale off for a while, add the keep label to hold stale off permanently, or do nothing. If you do nothing this pull request will be closed eventually by the stale bot

dependabot bot and others added 19 commits October 1, 2025 12:38
…#1709)

Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.4.2 to 2.4.3.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](ossf/scorecard-action@05b42c6...4eaacf0)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-version: 2.4.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kayla Reopelle <[email protected]>
… Targets Poller Logic (open-telemetry#1536)

* Add Rate Limiter and Sampling Targets Poller Logic

* fix test cases related to rate limiter and timecop usage

* add example for x-ray sampling on rails

* address comments

* address comments

---------

Co-authored-by: Kayla Reopelle <[email protected]>
* refactor: unify rack middleware_args

Ensure rack middleware_args are selected consistently based on
`OTEL_SEMCONV_STABILITY_OPT_IN` environment variable.

* use only middleware_args in sinatra tests

---------

Co-authored-by: Ariel Valentin <[email protected]>
Co-authored-by: Kayla Reopelle <[email protected]>
feat: Enhance README

Document configuration options for ActiveJob instrumentation.

Co-authored-by: Kayla Reopelle <[email protected]>
Co-authored-by: Ariel Valentin <[email protected]>
The gemspecs dependencies are currently not being updated automatically by dependabot.  

This change uses recursive directories instead of only updating the root Gemfile.

https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/controlling-dependencies-updated#defining-multiple-locations-for-manifest-files
* revert: Fix dependabot syntax error (open-telemetry#1719)

This reverts commit 60a630c.

* revert: Configure Dependabot to update recursively (open-telemetry#1718)

This reverts commit 2db52ff.
* opentelemetry-instrumentation-action_pack 0.14.1 (was 0.14.0)
* opentelemetry-instrumentation-active_job 0.9.2 (was 0.9.1)
* opentelemetry-instrumentation-rack 0.28.2 (was 0.28.1)
* opentelemetry-instrumentation-sinatra 0.27.1 (was 0.27.0)

Co-authored-by: otelbot <[email protected]>
* raise min tested Rails version
* use constants for Ruby version and post-install message
* update internal dep versions for consistency
* Add files for sql-processor gem

* fix: filename change

* Update helpers/sql-processor/CHANGELOG.md

* Add gem to build matrix and release config

---------

Co-authored-by: Kayla Reopelle <[email protected]>
* feat!: deprecate gem

* Update message

* Only one heading for README

* Feedback updates

* Revert version

* Update helpers/sql-obfuscation/CHANGELOG.md

Co-authored-by: Kayla Reopelle <[email protected]>

* Update readme

* Update helpers/sql-obfuscation/README.md

* Update gemspec description

---------

Co-authored-by: Kayla Reopelle <[email protected]>
Fix spacing for releases.yml file to release opentelemetry-helpers-sql-processor
* release: Release 2 gems

* opentelemetry-helpers-sql-obfuscation 0.4.0 (was 0.3.0)
* opentelemetry-helpers-sql-processor 0.1.0 (initial release)

* chore: Update entry for deprecation notice

---------

Co-authored-by: otelbot <[email protected]>
Co-authored-by: Kayla Reopelle <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants